package com.shujia.connectionPool;

import java.sql.Connection;

public interface ConnectionPool {

//    Connection createOneConnection(ConnectionPoolConfig connectionPollConfig);

//    Connection getConnection();
//
//    void releaseConnection(Connection connection);

    PoolElem createOneConnection(ConnectionPoolConfig connectionPollConfig);

    //
    Connection getConnection();

    void releaseConnection(Connection connection);


}
